package cn.yunyichina.provider.hisiface.service.impl;

import cn.yunyichina.provider.iface.entity.hisiface.finance.FinanceCollectVo;
import cn.yunyichina.provider.iface.entity.hisiface.finance.FinanceCollectVoResponse;
import org.springframework.stereotype.Service;

import cn.yunyichina.provider.hisiface.service.AbstractService;
import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.hisiface.finance.FinanceVo;
import cn.yunyichina.provider.iface.entity.hisiface.finance.FinanceVoResponse;

import java.util.List;

/**
 * 对账服务接口
 * <p>
 * 对账查询 queryFinance
 * 
 * @author zhou
 *
 */
@Service
public class HisifaceFinanceServiceImpl extends AbstractService {
	
	/**
	 * 对账查询
	 * 
	 * @param financeVo
	 * @return
	 */
	public ResCommon<FinanceVoResponse> queryFinance(FinanceVo financeVo) {
		String methodCode = "queryFinance";
    	String methodName = "对账查询";
    	
    	return doExec(methodCode, methodName, financeVo, FinanceVoResponse.class);
	}


	public ResCommon<List<FinanceCollectVoResponse>> queryFinanceCollect(FinanceCollectVo financeCollectVo) {
		String methodCode = "queryFinanceCollect";
		String methodName = "省二对账医院订单流水统计查询";

		return doExecList(methodCode, methodName, financeCollectVo, FinanceCollectVoResponse.class);
	}
    
}
